<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>XenC: include/utils/common.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">XenC
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Open-source tool for data selection in NLP</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_821002d4f10779a80d4fb17bc32f21f1.html">utils</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">common.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="common_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">/*  This file is part of the cross-entropy tool for data selection (XenC)</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *  aimed at speech recognition and statistical machine translation.</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *  Copyright 2013-2016, Anthony Rousseau, LIUM, University of Le Mans, France</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *  Development of the XenC tool has been partially funded by the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *  European Commission under the MateCat project.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *  The XenC tool is free software; you can redistribute it and/or modify it</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *  under the terms of the GNU Lesser General Public License version 3 as</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *  published by the Free Software Foundation</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *  This library is distributed in the hope that it will be useful, but WITHOUT</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *  for more details.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *  You should have received a copy of the GNU Lesser General Public License</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *  along with this library; if not, write to the Free Software Foundation,</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef COMMON_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define COMMON_H_</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;cstdlib&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;fstream&gt;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;time.h&gt;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="struct___options.html">   50</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___options.html">_Options</a> {</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="struct___options.html#a0939d653ebe953e8b7fe334389e88b3c">   51</a></span>&#160;    std::string <a class="code" href="struct___options.html#a0939d653ebe953e8b7fe334389e88b3c">sLang</a>;      </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="struct___options.html#a42df15e59c7b29647403aeba25d9aa7b">   52</a></span>&#160;    std::string <a class="code" href="struct___options.html#a42df15e59c7b29647403aeba25d9aa7b">tLang</a>;      </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="struct___options.html#a27fd538adee745099e18024d8fa13b0c">   53</a></span>&#160;    std::string <a class="code" href="struct___options.html#a27fd538adee745099e18024d8fa13b0c">inSData</a>;    </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="struct___options.html#a7b891b8f339ff13eecf6818bbc282bab">   54</a></span>&#160;    std::string <a class="code" href="struct___options.html#a7b891b8f339ff13eecf6818bbc282bab">outSData</a>;   </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="struct___options.html#a999a634da05ea1bd2612a87a2babf85e">   55</a></span>&#160;    std::string <a class="code" href="struct___options.html#a999a634da05ea1bd2612a87a2babf85e">inTData</a>;    </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="struct___options.html#ab000075b71d144825c9b92542222c7b4">   56</a></span>&#160;    std::string <a class="code" href="struct___options.html#ab000075b71d144825c9b92542222c7b4">outTData</a>;   </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="struct___options.html#af0eb3bb3de6fb3c12796cb45e0642980">   57</a></span>&#160;    std::string <a class="code" href="struct___options.html#af0eb3bb3de6fb3c12796cb45e0642980">inSStem</a>;    </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="struct___options.html#a42aee4326c576df8b21670f3d398832a">   58</a></span>&#160;    std::string <a class="code" href="struct___options.html#a42aee4326c576df8b21670f3d398832a">outSStem</a>;   </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="struct___options.html#afb700a9c9873be033265bb9b29933568">   59</a></span>&#160;    std::string <a class="code" href="struct___options.html#afb700a9c9873be033265bb9b29933568">inTStem</a>;    </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="struct___options.html#aba987458d0e4afed1f68793499a47e96">   60</a></span>&#160;    std::string <a class="code" href="struct___options.html#aba987458d0e4afed1f68793499a47e96">outTStem</a>;   </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="struct___options.html#adcd86854cb9c8fddfb9af04882d297da">   61</a></span>&#160;    std::string <a class="code" href="struct___options.html#adcd86854cb9c8fddfb9af04882d297da">iPTable</a>;    </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="struct___options.html#a10e86a8bfb10834393844604810189b6">   62</a></span>&#160;    std::string <a class="code" href="struct___options.html#a10e86a8bfb10834393844604810189b6">oPTable</a>;    </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="struct___options.html#a8d228790d3a2248c0e69828b633d1e04">   63</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#a8d228790d3a2248c0e69828b633d1e04">mode</a>;               </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="struct___options.html#a6995f088ca2fad8cd6f6f08bcd8ba0d2">   64</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a6995f088ca2fad8cd6f6f08bcd8ba0d2">mean</a>;              </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="struct___options.html#a6f5a8d269cb2773999caddf5c2acbef6">   65</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a6f5a8d269cb2773999caddf5c2acbef6">sim</a>;               </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="struct___options.html#acebdaa3b878d662560f88eab8d06e082">   66</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#acebdaa3b878d662560f88eab8d06e082">simOnly</a>;           </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="struct___options.html#a701571ff5c7e2763b98b899e56204177">   67</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#a701571ff5c7e2763b98b899e56204177">vecSize</a>;            </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="struct___options.html#a10d4fe051ee0849e68f7cc3063648360">   68</a></span>&#160;    std::string <a class="code" href="struct___options.html#a10d4fe051ee0849e68f7cc3063648360">sVocab</a>;     </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="struct___options.html#a5ce2b101aa86447f710a4de027e8d180">   69</a></span>&#160;    std::string <a class="code" href="struct___options.html#a5ce2b101aa86447f710a4de027e8d180">tVocab</a>;     </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="struct___options.html#a76ce44d29d58850d64cceb8021cb50f8">   70</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a76ce44d29d58850d64cceb8021cb50f8">fullVoc</a>;           </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="struct___options.html#a54a45cb0832d71d318c7617df1ec6b8d">   71</a></span>&#160;    std::string <a class="code" href="struct___options.html#a54a45cb0832d71d318c7617df1ec6b8d">inSLM</a>;      </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="struct___options.html#ae9e0dcb7ed6c9a6b3b5addf390094f85">   72</a></span>&#160;    std::string <a class="code" href="struct___options.html#ae9e0dcb7ed6c9a6b3b5addf390094f85">outSLM</a>;     </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="struct___options.html#a5c3c084ca79af6cb8318545cc82cef39">   73</a></span>&#160;    std::string <a class="code" href="struct___options.html#a5c3c084ca79af6cb8318545cc82cef39">inTLM</a>;      </div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="struct___options.html#abe630f2482c4565974db143aeabf35b2">   74</a></span>&#160;    std::string <a class="code" href="struct___options.html#abe630f2482c4565974db143aeabf35b2">outTLM</a>;     </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="struct___options.html#a6f9cd745e22277cf7f98f232464cb960">   75</a></span>&#160;    std::string <a class="code" href="struct___options.html#a6f9cd745e22277cf7f98f232464cb960">wFile</a>;      </div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="struct___options.html#a187f98389ac1fde5a31bf57d39341a47">   76</a></span>&#160;    std::string <a class="code" href="struct___options.html#a187f98389ac1fde5a31bf57d39341a47">dev</a>;        </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="struct___options.html#acc29751f1019f626392b1f4a71968268">   77</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#acc29751f1019f626392b1f4a71968268">order</a>;              </div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="struct___options.html#a190edefc78c8f2bd70a782075a8bc729">   78</a></span>&#160;    std::size_t <a class="code" href="struct___options.html#a190edefc78c8f2bd70a782075a8bc729">memPC</a>;      </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="struct___options.html#a8dcf8a01b4121d42d219c65a17728f63">   79</a></span>&#160;    std::string <a class="code" href="struct___options.html#a8dcf8a01b4121d42d219c65a17728f63">temp</a>;       </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="struct___options.html#aa01d00da2866915814094345c268f873">   80</a></span>&#160;    std::size_t <a class="code" href="struct___options.html#aa01d00da2866915814094345c268f873">minblk</a>;     </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="struct___options.html#a64082ca922a2c4f8028250dd5532a51c">   81</a></span>&#160;    std::size_t <a class="code" href="struct___options.html#a64082ca922a2c4f8028250dd5532a51c">sortblk</a>;    </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="struct___options.html#acd41f65f3653338e78c6085f7dcae5aa">   82</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#acd41f65f3653338e78c6085f7dcae5aa">exclOOVs</a>;          </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="struct___options.html#ada2c366fb99c7a19f6ef9493cbbb26ae">   83</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#ada2c366fb99c7a19f6ef9493cbbb26ae">sampleSize</a>;         </div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="struct___options.html#ac1ca9c143621ec6b0dec855e826bd8c7">   84</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#ac1ca9c143621ec6b0dec855e826bd8c7">log</a>;               </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="struct___options.html#a7ea4060bb6a569c923fa6e2566ba7c38">   85</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a7ea4060bb6a569c923fa6e2566ba7c38">rev</a>;               </div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="struct___options.html#a259f33f5c1a1f19de12db0da454ac309">   86</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a259f33f5c1a1f19de12db0da454ac309">inv</a>;               </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="struct___options.html#ace235a4627d0c0517040da86fc250035">   87</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#ace235a4627d0c0517040da86fc250035">mono</a>;              </div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="struct___options.html#a1ddc64f66a941e72509d9c4cb7311ebb">   88</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a1ddc64f66a941e72509d9c4cb7311ebb">stem</a>;              </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="struct___options.html#a470a44b7981c83a60ce3306617570c49">   89</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a470a44b7981c83a60ce3306617570c49">local</a>;             </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="struct___options.html#ab6989ec93db4f4b8ca642356120c7d1f">   90</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#ab6989ec93db4f4b8ca642356120c7d1f">eval</a>;              </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="struct___options.html#a4f66141fa01d3f8a6236c809b4f9d589">   91</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a4f66141fa01d3f8a6236c809b4f9d589">bp</a>;                </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="struct___options.html#a593121f953b8e923ea47b460b3d53a6f">   92</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#a593121f953b8e923ea47b460b3d53a6f">step</a>;               </div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="struct___options.html#a792b653782b7973b936e402b53fc6e0a">   93</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#a792b653782b7973b936e402b53fc6e0a">pc</a>;                 </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="struct___options.html#ad82679764d7d5f8299781087dd52d65a">   94</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#ad82679764d7d5f8299781087dd52d65a">inToks</a>;             </div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="struct___options.html#aadf012248b3af655296365c3439a2d58">   95</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#aadf012248b3af655296365c3439a2d58">outToks</a>;            </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="struct___options.html#a17d1320c68d90b6f887b07e925c96f6e">   96</a></span>&#160;    std::string <a class="code" href="struct___options.html#a17d1320c68d90b6f887b07e925c96f6e">outName</a>;    </div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="struct___options.html#a8fd04472bc525837a659082da6e8beb3">   97</a></span>&#160;    std::string <a class="code" href="struct___options.html#a8fd04472bc525837a659082da6e8beb3">name</a>;       </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="struct___options.html#a13dca3ef2c7f0b589fced91af30766b9">   98</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a13dca3ef2c7f0b589fced91af30766b9">version</a>;           </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="struct___options.html#abfaa3912b90474ed33748164b5b88aa5">   99</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#abfaa3912b90474ed33748164b5b88aa5">threads</a>;            </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="struct___options.html#a46604fd56cf25009ce1dd580a027a222">  100</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="struct___options.html#a46604fd56cf25009ce1dd580a027a222">sortOnly</a>;          </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="struct___options.html#a5309aefe4fdc2f46c96f9f41e9a0a416">  101</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct___options.html#a5309aefe4fdc2f46c96f9f41e9a0a416">maxEvalPC</a>;          </div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;} <a class="code" href="common_8h.html#ad21081104f366c9682adfdca8ee9c45f">Options</a>, *<a class="code" href="common_8h.html#ac5d9a808e501bd85893f0f6819b5e5b9">LPOptions</a>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_xen_common.html">XenCommon</a> {</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe">  115</a></span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt; std::string <a class="code" href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe">toString</a>(<span class="keyword">const</span> T &amp;Value) {</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        std::ostringstream oss;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        oss.precision(20);</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        oss &lt;&lt; Value;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="keywordflow">return</span> oss.str();</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    }</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    </div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#a3b2d08955355a35d07efd74c466b91d1">  128</a></span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt; std::string <a class="code" href="namespace_xen_common.html#a3b2d08955355a35d07efd74c466b91d1">toString0</a>(<span class="keyword">const</span> T &amp;Value) {</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        std::ostringstream oss;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        oss &lt;&lt; Value;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordflow">return</span> oss.str();</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    }</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    </div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#a3fd9978be1bd41808ac4605c2e89d816">  140</a></span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt; <span class="keywordtype">int</span> <a class="code" href="namespace_xen_common.html#a3fd9978be1bd41808ac4605c2e89d816">toInt</a>(<span class="keyword">const</span> T &amp;Value) {</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        <span class="keywordtype">int</span> ret;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        std::istringstream iss;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        iss.str(Value);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        iss &gt;&gt; ret;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    }</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    </div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#aadf35ed2e4ebb9b556cda62563888113">  154</a></span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt; <span class="keywordtype">double</span> <a class="code" href="namespace_xen_common.html#aadf35ed2e4ebb9b556cda62563888113">toDouble</a>(<span class="keyword">const</span> T &amp;Value) {</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <span class="keywordtype">double</span> ret;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        std::istringstream iss;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        iss.str(Value);</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        iss &gt;&gt; ret;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    }</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#ae4ab9441365ea924eb6b5df051f53155">  168</a></span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> A, <span class="keyword">typename</span> B&gt; std::pair&lt;B, A&gt; <a class="code" href="namespace_xen_common.html#ae4ab9441365ea924eb6b5df051f53155">flip_pair</a>(<span class="keyword">const</span> std::pair&lt;A, B&gt; &amp;p) {</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keywordflow">return</span> std::pair&lt;B,A&gt;(p.second, p.first);</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    }</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#ac5d0528153fa3cb1a068e8eb37f8762e">  178</a></span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> A, <span class="keyword">typename</span> B&gt; std::multimap&lt;B, A, std::greater&lt;B&gt; &gt; <a class="code" href="namespace_xen_common.html#ac5d0528153fa3cb1a068e8eb37f8762e">flip_map</a>(<span class="keyword">const</span> std::map&lt;A, B&gt; &amp;src) {</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        std::multimap&lt;B, A, std::greater&lt;B&gt; &gt; dst;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        transform(src.begin(), src.end(), inserter(dst, dst.begin()), flip_pair&lt;A, B&gt;);</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <span class="keywordflow">return</span> dst;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    }</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    </div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="struct_xen_common_1_1_xen_c_eption.html">  188</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_xen_common_1_1_xen_c_eption.html">XenCEption</a> : <span class="keyword">public</span> std::exception</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    {</div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="struct_xen_common_1_1_xen_c_eption.html#af7a342a6d120ed90d701140b4f8b80c2">  190</a></span>&#160;        std::string <a class="code" href="struct_xen_common_1_1_xen_c_eption.html#af7a342a6d120ed90d701140b4f8b80c2">s</a>;      </div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        </div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="struct_xen_common_1_1_xen_c_eption.html#acee5c43bdbf9f2b96430779bc429a111">  196</a></span>&#160;        <a class="code" href="struct_xen_common_1_1_xen_c_eption.html#acee5c43bdbf9f2b96430779bc429a111">XenCEption</a>(std::string ss) : s(ss) {}</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        </div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="struct_xen_common_1_1_xen_c_eption.html#a99eb15e7ae7df47cf6eadfebbbc8326c">  202</a></span>&#160;        <span class="keyword">virtual</span> <a class="code" href="struct_xen_common_1_1_xen_c_eption.html#a99eb15e7ae7df47cf6eadfebbbc8326c">~XenCEption</a>() throw() {}</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="struct_xen_common_1_1_xen_c_eption.html#a32ca1dc358f84de4e63d73c72e318c42">  210</a></span>&#160;        <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct_xen_common_1_1_xen_c_eption.html#a32ca1dc358f84de4e63d73c72e318c42">what</a>() <span class="keyword">const</span> throw() { <span class="keywordflow">return</span> s.c_str(); }</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    };</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    </div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#a256a94d06d5072213efb1c50412f64bd">  220</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="namespace_xen_common.html#a256a94d06d5072213efb1c50412f64bd">wordCount</a>(<span class="keyword">const</span> std::string &amp;str) {</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        <span class="keywordtype">int</span> c = 0;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        std::string::const_iterator pos = str.begin();</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        std::string::const_iterator end = str.end();</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        </div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <span class="keywordflow">while</span>(pos != end) {</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;            <span class="keywordflow">while</span>(pos != end &amp;&amp; (*pos == <span class="charliteral">&#39; &#39;</span> || std::isspace(*pos))) ++pos;</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;            c += (pos != end);</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;            <span class="keywordflow">while</span>(pos != end &amp;&amp; (*pos != <span class="charliteral">&#39; &#39;</span> || !std::isspace(*pos))) ++pos;</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        }</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        </div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <span class="keywordflow">return</span> c;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    }</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="namespace_xen_common.html#ab8c7a51d6bf68d64848f1ca9bc3805d0">  241</a></span>&#160;    <span class="keyword">inline</span> std::string <a class="code" href="namespace_xen_common.html#ab8c7a51d6bf68d64848f1ca9bc3805d0">getStdoutFromCommand</a>(std::string cmd) {</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <span class="keywordflow">try</span> {</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;            std::string data;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            std::FILE *stream;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            <span class="keywordtype">int</span> MAX_BUFFER = 65535;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;            <span class="keywordtype">char</span> buffer[MAX_BUFFER];</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            cmd.append(<span class="stringliteral">&quot; 2&gt;&amp;1&quot;</span>);</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            stream = popen(cmd.c_str(), <span class="stringliteral">&quot;r&quot;</span>);</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;            </div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;            <span class="keywordflow">if</span> (!stream){</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;                <span class="keywordflow">throw</span> <a class="code" href="struct_xen_common_1_1_xen_c_eption.html">XenCEption</a>(<span class="stringliteral">&quot;Can&#39;t open stream with popen()!&quot;</span>);</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;            }</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;            </div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;            <span class="keywordflow">while</span> (!feof(stream)){</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                <span class="keywordflow">if</span> (std::fgets(buffer, MAX_BUFFER, stream) != NULL){</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;                    data.append(buffer);</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                }</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            }</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            </div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            pclose(stream);</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keywordflow">return</span> data;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        }</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        <span class="keywordflow">catch</span> (<a class="code" href="struct_xen_common_1_1_xen_c_eption.html">XenCEption</a> &amp;e) {</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            <span class="keywordflow">throw</span>;</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        }</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;    }</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="class_xen_common_1_1_splitter.html">  276</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_xen_common_1_1_splitter.html">Splitter</a> {</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        std::vector&lt;std::string&gt; _tokens;</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;        </div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="class_xen_common_1_1_splitter.html#a1dbe904a5919bb0b2bf178587a9fdacf">  280</a></span>&#160;        <span class="keyword">typedef</span> std::vector&lt;std::string&gt;::size_type <a class="code" href="class_xen_common_1_1_splitter.html#a1dbe904a5919bb0b2bf178587a9fdacf">size_type</a>;</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        </div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="class_xen_common_1_1_splitter.html#abe8511807f9fa5b61f130b418a268776">  282</a></span>&#160;        <a class="code" href="class_xen_common_1_1_splitter.html#abe8511807f9fa5b61f130b418a268776">Splitter</a>() { }</div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="class_xen_common_1_1_splitter.html#a39fb663d6036923eaa87dfce236d1ca7">  283</a></span>&#160;        <a class="code" href="class_xen_common_1_1_splitter.html#a39fb663d6036923eaa87dfce236d1ca7">Splitter</a>(<span class="keyword">const</span> std::string&amp; src, <span class="keyword">const</span> std::string&amp; delim) { reset (src, delim); }</div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="class_xen_common_1_1_splitter.html#a87a0b4a9d6bd4c7aedc5fe98360e50ca">  284</a></span>&#160;        std::string&amp; operator[] (size_type i) { <span class="keywordflow">return</span> _tokens.at(i); }</div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="class_xen_common_1_1_splitter.html#aae7f6c9016f28ad12f4b31646ba9ef7a">  285</a></span>&#160;        size_type <a class="code" href="class_xen_common_1_1_splitter.html#aae7f6c9016f28ad12f4b31646ba9ef7a">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _tokens.size(); }</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        </div><div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417">  287</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417">reset</a>(<span class="keyword">const</span> std::string&amp; src, <span class="keyword">const</span> std::string&amp; delim) {</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;            std::vector&lt;std::string&gt; tokens;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;            std::string::size_type start = 0;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;            std::string::size_type end;</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;            </div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;            <span class="keywordflow">for</span> ( ; ; ) {</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                end = src.find(delim, start);</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;                tokens.push_back(src.substr(start, end - start));</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;                </div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;                <span class="keywordflow">if</span> (end == std::string::npos)</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;                    <span class="keywordflow">break</span>;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;                </div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;                start = end + delim.size();</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;            }</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            </div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;            _tokens.swap (tokens);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        }</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    };</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;}</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_xen_common_1_1_splitter_html_a39fb663d6036923eaa87dfce236d1ca7"><div class="ttname"><a href="class_xen_common_1_1_splitter.html#a39fb663d6036923eaa87dfce236d1ca7">XenCommon::Splitter::Splitter</a></div><div class="ttdeci">Splitter(const std::string &amp;src, const std::string &amp;delim)</div><div class="ttdef"><b>Definition:</b> common.h:283</div></div>
<div class="ttc" id="struct_xen_common_1_1_xen_c_eption_html_a99eb15e7ae7df47cf6eadfebbbc8326c"><div class="ttname"><a href="struct_xen_common_1_1_xen_c_eption.html#a99eb15e7ae7df47cf6eadfebbbc8326c">XenCommon::XenCEption::~XenCEption</a></div><div class="ttdeci">virtual ~XenCEption()</div><div class="ttdoc">Exception desctructor. </div><div class="ttdef"><b>Definition:</b> common.h:202</div></div>
<div class="ttc" id="struct___options_html_af0eb3bb3de6fb3c12796cb45e0642980"><div class="ttname"><a href="struct___options.html#af0eb3bb3de6fb3c12796cb45e0642980">_Options::inSStem</a></div><div class="ttdeci">std::string inSStem</div><div class="ttdoc">The in-domain source stem corpus. </div><div class="ttdef"><b>Definition:</b> common.h:57</div></div>
<div class="ttc" id="struct___options_html_ad82679764d7d5f8299781087dd52d65a"><div class="ttname"><a href="struct___options.html#ad82679764d7d5f8299781087dd52d65a">_Options::inToks</a></div><div class="ttdeci">int inToks</div><div class="ttdoc">The number of in-domain tokens. </div><div class="ttdef"><b>Definition:</b> common.h:94</div></div>
<div class="ttc" id="struct___options_html_a0939d653ebe953e8b7fe334389e88b3c"><div class="ttname"><a href="struct___options.html#a0939d653ebe953e8b7fe334389e88b3c">_Options::sLang</a></div><div class="ttdeci">std::string sLang</div><div class="ttdoc">The source language. </div><div class="ttdef"><b>Definition:</b> common.h:51</div></div>
<div class="ttc" id="struct___options_html_a187f98389ac1fde5a31bf57d39341a47"><div class="ttname"><a href="struct___options.html#a187f98389ac1fde5a31bf57d39341a47">_Options::dev</a></div><div class="ttdeci">std::string dev</div><div class="ttdoc">The development corpus (for evaluation) </div><div class="ttdef"><b>Definition:</b> common.h:76</div></div>
<div class="ttc" id="struct___options_html_a13dca3ef2c7f0b589fced91af30766b9"><div class="ttname"><a href="struct___options.html#a13dca3ef2c7f0b589fced91af30766b9">_Options::version</a></div><div class="ttdeci">bool version</div><div class="ttdoc">The program version. </div><div class="ttdef"><b>Definition:</b> common.h:98</div></div>
<div class="ttc" id="struct___options_html_ab000075b71d144825c9b92542222c7b4"><div class="ttname"><a href="struct___options.html#ab000075b71d144825c9b92542222c7b4">_Options::outTData</a></div><div class="ttdeci">std::string outTData</div><div class="ttdoc">The out-of-domain target corpus. </div><div class="ttdef"><b>Definition:</b> common.h:56</div></div>
<div class="ttc" id="struct___options_html_a4f66141fa01d3f8a6236c809b4f9d589"><div class="ttname"><a href="struct___options.html#a4f66141fa01d3f8a6236c809b4f9d589">_Options::bp</a></div><div class="ttdeci">bool bp</div><div class="ttdoc">Indicates best-point evaluation mode. </div><div class="ttdef"><b>Definition:</b> common.h:91</div></div>
<div class="ttc" id="struct___options_html_aadf012248b3af655296365c3439a2d58"><div class="ttname"><a href="struct___options.html#aadf012248b3af655296365c3439a2d58">_Options::outToks</a></div><div class="ttdeci">int outToks</div><div class="ttdoc">The number of out-of-domain tokens. </div><div class="ttdef"><b>Definition:</b> common.h:95</div></div>
<div class="ttc" id="struct___options_html_a6f9cd745e22277cf7f98f232464cb960"><div class="ttname"><a href="struct___options.html#a6f9cd745e22277cf7f98f232464cb960">_Options::wFile</a></div><div class="ttdeci">std::string wFile</div><div class="ttdoc">The weight file. </div><div class="ttdef"><b>Definition:</b> common.h:75</div></div>
<div class="ttc" id="struct___options_html_a42df15e59c7b29647403aeba25d9aa7b"><div class="ttname"><a href="struct___options.html#a42df15e59c7b29647403aeba25d9aa7b">_Options::tLang</a></div><div class="ttdeci">std::string tLang</div><div class="ttdoc">The target language. </div><div class="ttdef"><b>Definition:</b> common.h:52</div></div>
<div class="ttc" id="struct___options_html_a5ce2b101aa86447f710a4de027e8d180"><div class="ttname"><a href="struct___options.html#a5ce2b101aa86447f710a4de027e8d180">_Options::tVocab</a></div><div class="ttdeci">std::string tVocab</div><div class="ttdoc">The target language vocabulary. </div><div class="ttdef"><b>Definition:</b> common.h:69</div></div>
<div class="ttc" id="struct___options_html_a54a45cb0832d71d318c7617df1ec6b8d"><div class="ttname"><a href="struct___options.html#a54a45cb0832d71d318c7617df1ec6b8d">_Options::inSLM</a></div><div class="ttdeci">std::string inSLM</div><div class="ttdoc">The in-domain source language model. </div><div class="ttdef"><b>Definition:</b> common.h:71</div></div>
<div class="ttc" id="struct___options_html_abe630f2482c4565974db143aeabf35b2"><div class="ttname"><a href="struct___options.html#abe630f2482c4565974db143aeabf35b2">_Options::outTLM</a></div><div class="ttdeci">std::string outTLM</div><div class="ttdoc">The out-of-domain target language model. </div><div class="ttdef"><b>Definition:</b> common.h:74</div></div>
<div class="ttc" id="struct___options_html_ab6989ec93db4f4b8ca642356120c7d1f"><div class="ttname"><a href="struct___options.html#ab6989ec93db4f4b8ca642356120c7d1f">_Options::eval</a></div><div class="ttdeci">bool eval</div><div class="ttdoc">Indicates evaluation mode. </div><div class="ttdef"><b>Definition:</b> common.h:90</div></div>
<div class="ttc" id="struct___options_html_a5309aefe4fdc2f46c96f9f41e9a0a416"><div class="ttname"><a href="struct___options.html#a5309aefe4fdc2f46c96f9f41e9a0a416">_Options::maxEvalPC</a></div><div class="ttdeci">int maxEvalPC</div><div class="ttdoc">The maximum eval percentage. </div><div class="ttdef"><b>Definition:</b> common.h:101</div></div>
<div class="ttc" id="struct___options_html_a6f5a8d269cb2773999caddf5c2acbef6"><div class="ttname"><a href="struct___options.html#a6f5a8d269cb2773999caddf5c2acbef6">_Options::sim</a></div><div class="ttdeci">bool sim</div><div class="ttdoc">Indicates similarity computation. </div><div class="ttdef"><b>Definition:</b> common.h:65</div></div>
<div class="ttc" id="struct___options_html_acebdaa3b878d662560f88eab8d06e082"><div class="ttname"><a href="struct___options.html#acebdaa3b878d662560f88eab8d06e082">_Options::simOnly</a></div><div class="ttdeci">bool simOnly</div><div class="ttdoc">Indicates similarity computation only. </div><div class="ttdef"><b>Definition:</b> common.h:66</div></div>
<div class="ttc" id="struct___options_html_acd41f65f3653338e78c6085f7dcae5aa"><div class="ttname"><a href="struct___options.html#acd41f65f3653338e78c6085f7dcae5aa">_Options::exclOOVs</a></div><div class="ttdeci">bool exclOOVs</div><div class="ttdoc">Indicates if the OOVs must be excluded from PPL computation. </div><div class="ttdef"><b>Definition:</b> common.h:82</div></div>
<div class="ttc" id="struct_xen_common_1_1_xen_c_eption_html_af7a342a6d120ed90d701140b4f8b80c2"><div class="ttname"><a href="struct_xen_common_1_1_xen_c_eption.html#af7a342a6d120ed90d701140b4f8b80c2">XenCommon::XenCEption::s</a></div><div class="ttdeci">std::string s</div><div class="ttdoc">The exception message. </div><div class="ttdef"><b>Definition:</b> common.h:190</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">&lt; Common includes </div></div>
<div class="ttc" id="namespace_xen_common_html"><div class="ttname"><a href="namespace_xen_common.html">XenCommon</a></div><div class="ttdoc">Namespace containing all the common functions of XenC. </div></div>
<div class="ttc" id="struct___options_html_aa01d00da2866915814094345c268f873"><div class="ttname"><a href="struct___options.html#aa01d00da2866915814094345c268f873">_Options::minblk</a></div><div class="ttdeci">std::size_t minblk</div><div class="ttdoc">The minimum block size. </div><div class="ttdef"><b>Definition:</b> common.h:80</div></div>
<div class="ttc" id="class_xen_common_1_1_splitter_html_abe8511807f9fa5b61f130b418a268776"><div class="ttname"><a href="class_xen_common_1_1_splitter.html#abe8511807f9fa5b61f130b418a268776">XenCommon::Splitter::Splitter</a></div><div class="ttdeci">Splitter()</div><div class="ttdef"><b>Definition:</b> common.h:282</div></div>
<div class="ttc" id="struct___options_html_a10e86a8bfb10834393844604810189b6"><div class="ttname"><a href="struct___options.html#a10e86a8bfb10834393844604810189b6">_Options::oPTable</a></div><div class="ttdeci">std::string oPTable</div><div class="ttdoc">The out-of-domain phrase-table. </div><div class="ttdef"><b>Definition:</b> common.h:62</div></div>
<div class="ttc" id="struct___options_html_a27fd538adee745099e18024d8fa13b0c"><div class="ttname"><a href="struct___options.html#a27fd538adee745099e18024d8fa13b0c">_Options::inSData</a></div><div class="ttdeci">std::string inSData</div><div class="ttdoc">The in-domain source corpus. </div><div class="ttdef"><b>Definition:</b> common.h:53</div></div>
<div class="ttc" id="struct___options_html_a999a634da05ea1bd2612a87a2babf85e"><div class="ttname"><a href="struct___options.html#a999a634da05ea1bd2612a87a2babf85e">_Options::inTData</a></div><div class="ttdeci">std::string inTData</div><div class="ttdoc">The in-domain target corpus. </div><div class="ttdef"><b>Definition:</b> common.h:55</div></div>
<div class="ttc" id="struct___options_html_a593121f953b8e923ea47b460b3d53a6f"><div class="ttname"><a href="struct___options.html#a593121f953b8e923ea47b460b3d53a6f">_Options::step</a></div><div class="ttdeci">int step</div><div class="ttdoc">The step size for evaluation and best-point. </div><div class="ttdef"><b>Definition:</b> common.h:92</div></div>
<div class="ttc" id="namespace_xen_common_html_a256a94d06d5072213efb1c50412f64bd"><div class="ttname"><a href="namespace_xen_common.html#a256a94d06d5072213efb1c50412f64bd">XenCommon::wordCount</a></div><div class="ttdeci">int wordCount(const std::string &amp;str)</div><div class="ttdoc">Computes the word count of a string. </div><div class="ttdef"><b>Definition:</b> common.h:220</div></div>
<div class="ttc" id="struct___options_html_a42aee4326c576df8b21670f3d398832a"><div class="ttname"><a href="struct___options.html#a42aee4326c576df8b21670f3d398832a">_Options::outSStem</a></div><div class="ttdeci">std::string outSStem</div><div class="ttdoc">The out-of-domain source stem corpus. </div><div class="ttdef"><b>Definition:</b> common.h:58</div></div>
<div class="ttc" id="class_xen_common_1_1_splitter_html_aae7f6c9016f28ad12f4b31646ba9ef7a"><div class="ttname"><a href="class_xen_common_1_1_splitter.html#aae7f6c9016f28ad12f4b31646ba9ef7a">XenCommon::Splitter::size</a></div><div class="ttdeci">size_type size() const </div><div class="ttdef"><b>Definition:</b> common.h:285</div></div>
<div class="ttc" id="namespace_xen_common_html_ae4ab9441365ea924eb6b5df051f53155"><div class="ttname"><a href="namespace_xen_common.html#ae4ab9441365ea924eb6b5df051f53155">XenCommon::flip_pair</a></div><div class="ttdeci">std::pair&lt; B, A &gt; flip_pair(const std::pair&lt; A, B &gt; &amp;p)</div><div class="ttdoc">Template flipping a pair key type with value type. </div><div class="ttdef"><b>Definition:</b> common.h:168</div></div>
<div class="ttc" id="struct___options_html_ada2c366fb99c7a19f6ef9493cbbb26ae"><div class="ttname"><a href="struct___options.html#ada2c366fb99c7a19f6ef9493cbbb26ae">_Options::sampleSize</a></div><div class="ttdeci">int sampleSize</div><div class="ttdoc">The sample size for the out-of-domain corpus. </div><div class="ttdef"><b>Definition:</b> common.h:83</div></div>
<div class="ttc" id="namespace_xen_common_html_aadf35ed2e4ebb9b556cda62563888113"><div class="ttname"><a href="namespace_xen_common.html#aadf35ed2e4ebb9b556cda62563888113">XenCommon::toDouble</a></div><div class="ttdeci">double toDouble(const T &amp;Value)</div><div class="ttdoc">Template converting a value (generally a string) into an double. </div><div class="ttdef"><b>Definition:</b> common.h:154</div></div>
<div class="ttc" id="common_8h_html_ac5d9a808e501bd85893f0f6819b5e5b9"><div class="ttname"><a href="common_8h.html#ac5d9a808e501bd85893f0f6819b5e5b9">LPOptions</a></div><div class="ttdeci">struct _Options * LPOptions</div></div>
<div class="ttc" id="struct___options_html_a470a44b7981c83a60ce3306617570c49"><div class="ttname"><a href="struct___options.html#a470a44b7981c83a60ce3306617570c49">_Options::local</a></div><div class="ttdeci">bool local</div><div class="ttdoc">Indicates local scores computation for phrase table filtering. </div><div class="ttdef"><b>Definition:</b> common.h:89</div></div>
<div class="ttc" id="struct_xen_common_1_1_xen_c_eption_html"><div class="ttname"><a href="struct_xen_common_1_1_xen_c_eption.html">XenCommon::XenCEption</a></div><div class="ttdoc">XenC exception structure. </div><div class="ttdef"><b>Definition:</b> common.h:188</div></div>
<div class="ttc" id="struct___options_html_acc29751f1019f626392b1f4a71968268"><div class="ttname"><a href="struct___options.html#acc29751f1019f626392b1f4a71968268">_Options::order</a></div><div class="ttdeci">int order</div><div class="ttdoc">The order for language models estimation. </div><div class="ttdef"><b>Definition:</b> common.h:77</div></div>
<div class="ttc" id="struct___options_html_abfaa3912b90474ed33748164b5b88aa5"><div class="ttname"><a href="struct___options.html#abfaa3912b90474ed33748164b5b88aa5">_Options::threads</a></div><div class="ttdeci">int threads</div><div class="ttdoc">The number of threads. </div><div class="ttdef"><b>Definition:</b> common.h:99</div></div>
<div class="ttc" id="struct___options_html_a190edefc78c8f2bd70a782075a8bc729"><div class="ttname"><a href="struct___options.html#a190edefc78c8f2bd70a782075a8bc729">_Options::memPC</a></div><div class="ttdeci">std::size_t memPC</div><div class="ttdoc">The percentage of system memory to use. </div><div class="ttdef"><b>Definition:</b> common.h:78</div></div>
<div class="ttc" id="struct___options_html_afb700a9c9873be033265bb9b29933568"><div class="ttname"><a href="struct___options.html#afb700a9c9873be033265bb9b29933568">_Options::inTStem</a></div><div class="ttdeci">std::string inTStem</div><div class="ttdoc">The in-domain target stem corpus. </div><div class="ttdef"><b>Definition:</b> common.h:59</div></div>
<div class="ttc" id="common_8h_html_ad21081104f366c9682adfdca8ee9c45f"><div class="ttname"><a href="common_8h.html#ad21081104f366c9682adfdca8ee9c45f">Options</a></div><div class="ttdeci">struct _Options Options</div></div>
<div class="ttc" id="class_xen_common_1_1_splitter_html"><div class="ttname"><a href="class_xen_common_1_1_splitter.html">XenCommon::Splitter</a></div><div class="ttdoc">Class defining a splitter. </div><div class="ttdef"><b>Definition:</b> common.h:276</div></div>
<div class="ttc" id="struct_xen_common_1_1_xen_c_eption_html_acee5c43bdbf9f2b96430779bc429a111"><div class="ttname"><a href="struct_xen_common_1_1_xen_c_eption.html#acee5c43bdbf9f2b96430779bc429a111">XenCommon::XenCEption::XenCEption</a></div><div class="ttdeci">XenCEption(std::string ss)</div><div class="ttdoc">Exception constructur. </div><div class="ttdef"><b>Definition:</b> common.h:196</div></div>
<div class="ttc" id="struct___options_html_a6995f088ca2fad8cd6f6f08bcd8ba0d2"><div class="ttname"><a href="struct___options.html#a6995f088ca2fad8cd6f6f08bcd8ba0d2">_Options::mean</a></div><div class="ttdeci">bool mean</div><div class="ttdoc">Indicates mean computation. </div><div class="ttdef"><b>Definition:</b> common.h:64</div></div>
<div class="ttc" id="namespace_xen_common_html_ac5d0528153fa3cb1a068e8eb37f8762e"><div class="ttname"><a href="namespace_xen_common.html#ac5d0528153fa3cb1a068e8eb37f8762e">XenCommon::flip_map</a></div><div class="ttdeci">std::multimap&lt; B, A, std::greater&lt; B &gt; &gt; flip_map(const std::map&lt; A, B &gt; &amp;src)</div><div class="ttdoc">Template flipping a multimap with descending order keys with values. </div><div class="ttdef"><b>Definition:</b> common.h:178</div></div>
<div class="ttc" id="struct___options_html_a8dcf8a01b4121d42d219c65a17728f63"><div class="ttname"><a href="struct___options.html#a8dcf8a01b4121d42d219c65a17728f63">_Options::temp</a></div><div class="ttdeci">std::string temp</div><div class="ttdoc">The temporary files location. </div><div class="ttdef"><b>Definition:</b> common.h:79</div></div>
<div class="ttc" id="struct___options_html_a792b653782b7973b936e402b53fc6e0a"><div class="ttname"><a href="struct___options.html#a792b653782b7973b936e402b53fc6e0a">_Options::pc</a></div><div class="ttdeci">int pc</div><div class="ttdoc">The current percentage being evaluated. </div><div class="ttdef"><b>Definition:</b> common.h:93</div></div>
<div class="ttc" id="struct___options_html_a8d228790d3a2248c0e69828b633d1e04"><div class="ttname"><a href="struct___options.html#a8d228790d3a2248c0e69828b633d1e04">_Options::mode</a></div><div class="ttdeci">int mode</div><div class="ttdoc">The filtering mode. </div><div class="ttdef"><b>Definition:</b> common.h:63</div></div>
<div class="ttc" id="namespace_xen_common_html_ad4f4868634e46d6ee82e57d343a77abe"><div class="ttname"><a href="namespace_xen_common.html#ad4f4868634e46d6ee82e57d343a77abe">XenCommon::toString</a></div><div class="ttdeci">std::string toString(const T &amp;Value)</div><div class="ttdoc">Template converting a value into a string with a precision of 20. </div><div class="ttdef"><b>Definition:</b> common.h:115</div></div>
<div class="ttc" id="struct___options_html_a8fd04472bc525837a659082da6e8beb3"><div class="ttname"><a href="struct___options.html#a8fd04472bc525837a659082da6e8beb3">_Options::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">The program name. </div><div class="ttdef"><b>Definition:</b> common.h:97</div></div>
<div class="ttc" id="struct___options_html_a10d4fe051ee0849e68f7cc3063648360"><div class="ttname"><a href="struct___options.html#a10d4fe051ee0849e68f7cc3063648360">_Options::sVocab</a></div><div class="ttdeci">std::string sVocab</div><div class="ttdoc">The source language vocabulary. </div><div class="ttdef"><b>Definition:</b> common.h:68</div></div>
<div class="ttc" id="struct___options_html_adcd86854cb9c8fddfb9af04882d297da"><div class="ttname"><a href="struct___options.html#adcd86854cb9c8fddfb9af04882d297da">_Options::iPTable</a></div><div class="ttdeci">std::string iPTable</div><div class="ttdoc">The in-domain phrase-table. </div><div class="ttdef"><b>Definition:</b> common.h:61</div></div>
<div class="ttc" id="struct___options_html_ac1ca9c143621ec6b0dec855e826bd8c7"><div class="ttname"><a href="struct___options.html#ac1ca9c143621ec6b0dec855e826bd8c7">_Options::log</a></div><div class="ttdeci">bool log</div><div class="ttdoc">Indicates if the weights are given in the log domain. </div><div class="ttdef"><b>Definition:</b> common.h:84</div></div>
<div class="ttc" id="struct___options_html_a7ea4060bb6a569c923fa6e2566ba7c38"><div class="ttname"><a href="struct___options.html#a7ea4060bb6a569c923fa6e2566ba7c38">_Options::rev</a></div><div class="ttdeci">bool rev</div><div class="ttdoc">Indicates if a reversed output is requested (descending order) </div><div class="ttdef"><b>Definition:</b> common.h:85</div></div>
<div class="ttc" id="struct___options_html_a701571ff5c7e2763b98b899e56204177"><div class="ttname"><a href="struct___options.html#a701571ff5c7e2763b98b899e56204177">_Options::vecSize</a></div><div class="ttdeci">int vecSize</div><div class="ttdoc">The vector size for similarity. </div><div class="ttdef"><b>Definition:</b> common.h:67</div></div>
<div class="ttc" id="struct___options_html_aba987458d0e4afed1f68793499a47e96"><div class="ttname"><a href="struct___options.html#aba987458d0e4afed1f68793499a47e96">_Options::outTStem</a></div><div class="ttdeci">std::string outTStem</div><div class="ttdoc">The out-of-domain source stem corpus. </div><div class="ttdef"><b>Definition:</b> common.h:60</div></div>
<div class="ttc" id="class_xen_common_1_1_splitter_html_a7d9e0fa4bfe66e9e3609454dd855a417"><div class="ttname"><a href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417">XenCommon::Splitter::reset</a></div><div class="ttdeci">void reset(const std::string &amp;src, const std::string &amp;delim)</div><div class="ttdef"><b>Definition:</b> common.h:287</div></div>
<div class="ttc" id="class_xen_common_1_1_splitter_html_a1dbe904a5919bb0b2bf178587a9fdacf"><div class="ttname"><a href="class_xen_common_1_1_splitter.html#a1dbe904a5919bb0b2bf178587a9fdacf">XenCommon::Splitter::size_type</a></div><div class="ttdeci">std::vector&lt; std::string &gt;::size_type size_type</div><div class="ttdef"><b>Definition:</b> common.h:280</div></div>
<div class="ttc" id="struct___options_html_ae9e0dcb7ed6c9a6b3b5addf390094f85"><div class="ttname"><a href="struct___options.html#ae9e0dcb7ed6c9a6b3b5addf390094f85">_Options::outSLM</a></div><div class="ttdeci">std::string outSLM</div><div class="ttdoc">The out-of-domain source language model. </div><div class="ttdef"><b>Definition:</b> common.h:72</div></div>
<div class="ttc" id="namespace_xen_common_html_a3b2d08955355a35d07efd74c466b91d1"><div class="ttname"><a href="namespace_xen_common.html#a3b2d08955355a35d07efd74c466b91d1">XenCommon::toString0</a></div><div class="ttdeci">std::string toString0(const T &amp;Value)</div><div class="ttdoc">Template converting a value into a string with no precision. </div><div class="ttdef"><b>Definition:</b> common.h:128</div></div>
<div class="ttc" id="struct_xen_common_1_1_xen_c_eption_html_a32ca1dc358f84de4e63d73c72e318c42"><div class="ttname"><a href="struct_xen_common_1_1_xen_c_eption.html#a32ca1dc358f84de4e63d73c72e318c42">XenCommon::XenCEption::what</a></div><div class="ttdeci">const char * what() const </div><div class="ttdoc">Accessor to the exception message. </div><div class="ttdef"><b>Definition:</b> common.h:210</div></div>
<div class="ttc" id="struct___options_html_a17d1320c68d90b6f887b07e925c96f6e"><div class="ttname"><a href="struct___options.html#a17d1320c68d90b6f887b07e925c96f6e">_Options::outName</a></div><div class="ttdeci">std::string outName</div><div class="ttdoc">The output file name. </div><div class="ttdef"><b>Definition:</b> common.h:96</div></div>
<div class="ttc" id="struct___options_html_a259f33f5c1a1f19de12db0da454ac309"><div class="ttname"><a href="struct___options.html#a259f33f5c1a1f19de12db0da454ac309">_Options::inv</a></div><div class="ttdeci">bool inv</div><div class="ttdoc">Indicates if an inverse output is requested (1 - score) </div><div class="ttdef"><b>Definition:</b> common.h:86</div></div>
<div class="ttc" id="struct___options_html_a64082ca922a2c4f8028250dd5532a51c"><div class="ttname"><a href="struct___options.html#a64082ca922a2c4f8028250dd5532a51c">_Options::sortblk</a></div><div class="ttdeci">std::size_t sortblk</div><div class="ttdoc">The minimum block size for sort. </div><div class="ttdef"><b>Definition:</b> common.h:81</div></div>
<div class="ttc" id="namespace_xen_common_html_a3fd9978be1bd41808ac4605c2e89d816"><div class="ttname"><a href="namespace_xen_common.html#a3fd9978be1bd41808ac4605c2e89d816">XenCommon::toInt</a></div><div class="ttdeci">int toInt(const T &amp;Value)</div><div class="ttdoc">Template converting a value (generally a string) into an integer. </div><div class="ttdef"><b>Definition:</b> common.h:140</div></div>
<div class="ttc" id="struct___options_html_a46604fd56cf25009ce1dd580a027a222"><div class="ttname"><a href="struct___options.html#a46604fd56cf25009ce1dd580a027a222">_Options::sortOnly</a></div><div class="ttdeci">bool sortOnly</div><div class="ttdoc">Indicated outputting only the &quot;sorted&quot; file (not the &quot;scored&quot; one) </div><div class="ttdef"><b>Definition:</b> common.h:100</div></div>
<div class="ttc" id="struct___options_html_a5c3c084ca79af6cb8318545cc82cef39"><div class="ttname"><a href="struct___options.html#a5c3c084ca79af6cb8318545cc82cef39">_Options::inTLM</a></div><div class="ttdeci">std::string inTLM</div><div class="ttdoc">The in-domain target language model. </div><div class="ttdef"><b>Definition:</b> common.h:73</div></div>
<div class="ttc" id="namespace_xen_common_html_ab8c7a51d6bf68d64848f1ca9bc3805d0"><div class="ttname"><a href="namespace_xen_common.html#ab8c7a51d6bf68d64848f1ca9bc3805d0">XenCommon::getStdoutFromCommand</a></div><div class="ttdeci">std::string getStdoutFromCommand(std::string cmd)</div><div class="ttdoc">Executes a system command and returns the output. </div><div class="ttdef"><b>Definition:</b> common.h:241</div></div>
<div class="ttc" id="struct___options_html"><div class="ttname"><a href="struct___options.html">_Options</a></div><div class="ttdoc">XenC options structure. </div><div class="ttdef"><b>Definition:</b> common.h:50</div></div>
<div class="ttc" id="struct___options_html_a76ce44d29d58850d64cceb8021cb50f8"><div class="ttname"><a href="struct___options.html#a76ce44d29d58850d64cceb8021cb50f8">_Options::fullVoc</a></div><div class="ttdeci">bool fullVoc</div><div class="ttdoc">Indicates if a global vocabulary is requested (instead of only in-domain) </div><div class="ttdef"><b>Definition:</b> common.h:70</div></div>
<div class="ttc" id="struct___options_html_ace235a4627d0c0517040da86fc250035"><div class="ttname"><a href="struct___options.html#ace235a4627d0c0517040da86fc250035">_Options::mono</a></div><div class="ttdeci">bool mono</div><div class="ttdoc">Indicates if monolingual data is being filtered or not. </div><div class="ttdef"><b>Definition:</b> common.h:87</div></div>
<div class="ttc" id="struct___options_html_a7b891b8f339ff13eecf6818bbc282bab"><div class="ttname"><a href="struct___options.html#a7b891b8f339ff13eecf6818bbc282bab">_Options::outSData</a></div><div class="ttdeci">std::string outSData</div><div class="ttdoc">The out-of-domain source corpus. </div><div class="ttdef"><b>Definition:</b> common.h:54</div></div>
<div class="ttc" id="struct___options_html_a1ddc64f66a941e72509d9c4cb7311ebb"><div class="ttname"><a href="struct___options.html#a1ddc64f66a941e72509d9c4cb7311ebb">_Options::stem</a></div><div class="ttdeci">bool stem</div><div class="ttdoc">Indicates stem computation. </div><div class="ttdef"><b>Definition:</b> common.h:88</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 18 2016 17:22:37 for XenC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
